package com.tan.springcloud.Service;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(value = "CLOUD-HYSTRIX")
public interface Orderclient {
    @GetMapping(value = "/order/get/{id}")
     String getHystrixService(@PathVariable("id") Integer id);

    @GetMapping(value = "/order01/get/{id}")
     String getHystrixService01(@PathVariable("id") Integer id);


}
